package com.msb.mall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.msb.common.utils.PageUtils;
import com.msb.mall.member.entity.MemberEntity;
import com.msb.mall.member.excption.PhoneExsitExcption;
import com.msb.mall.member.excption.UsernameExsitExcption;
import com.msb.mall.member.vo.MemberLoginVO;
import com.msb.mall.member.vo.MemberRegisterVO;

import java.util.Map;

/**
 * 会员
 *
 * @author yuan38_sir
 * @email yuan38_sir@163.com
 * @date 2022-09-05 13:02:25
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void register(MemberRegisterVO vo) throws PhoneExsitExcption, UsernameExsitExcption;

    MemberEntity login(MemberLoginVO vo);
}

